// umi 中 page 下的自动注册未路由，能用如下方式
export const routes = [
  // { exact: true, path: "/home", redirect: "/home/product" }, //重定向
  // { path: "/", component: "@/pages/index" },
  // { path: "/login", component: "@/pages/Login" },
  // {
  //   path: "/home",
  //   component: "@/pages/Home",
  //   routes: [
  //     { exact: true, path: "/home", redirect: "/home/product" },
  //     { path: "/home/product", component: "@/pages/Product" }
  //   ]
  // },
  // { component: "@/pages/404" }
];

export default routes;